package com.gmail.dengtao.joe.group.protocol;


public abstract class ProtocolFactory {
	
	public <T extends Protocol> T getInstance(Class<T> clazz) {
		return null;
	}
	
	public abstract Protocol parse(int type, byte[] data);

	public abstract void register(String name, ProtocolParser protocol);
	
	public abstract void deregister(String name);

}